﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ManageReportVer1.Models
{
    public class DataReportModel
    {
        public SelectList DataItemList { get; set; }

        public string ItemName { get; set; }

        public int ItemId { get; set; }

        public DateTime Date { get; set; }
        public int Value { get; set; }
        public int UserId { get; set; }

        //[Required(ErrorMessage = "Date is required")]
        //// [DisplayFormat(DataFormatString = "{0:d}")]
        //[DataType(DataType.Date)]
        //public DateTime ReleaseDate { get; set; }
    }
}